﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace GwLib.JqGridMvc
{
    /// <summary>
    /// Used when datatype is local. Defines the type of the column for appropriate sorting.
    /// Possible values: 
    ///    int/integer - for sorting integer 
    ///    float/number/currency - for sorting decimal numbers 
    ///    date - for sorting date 
    ///    text - for text sorting 
    ///    function - defines a custom function for sorting. To this function we pass the value to be sorted and it should return a value too. 
    /// </summary>
    public enum JqGridColumnSortType
    {
        Text = 0,
        Date,
        Function,
        Float,
        Number,
        Currency,
        Integer
    }
}